<table>
	<tr>
		<th>No</th>
		<th>Client Name </th>
		<th>Reference Number </th>
		<th>Action</th>
	</tr>
	<? $i=1;foreach($client as $dataclient){?>
	<tr>
		<td><?=$i++?></td>
		<td><?=$dataclient['client_name']?></td>
		<td><?=$dataclient['reference_number']?></td>
		<td><a onclick="$('#content').load('<?=base_url('home/editclient/'.$dataclient['id'])?>')" >Edit</a> | 
		<a onclick="$('#content').load('<?=base_url('home/addpage/1/'.$dataclient['id'])?>')">Add Page</a></td>
	</tr>
	<? } ?>
</table>